TbsPolyglotManager Class

LangsDirChanging event

The tLangsDirChanging event fires exactly before changing from one folder with LNG files to the other folder with LNG files. It occurs event for not successful tries (for example target folder doesn't exist).

Syntax

property LangsDirChanging: TLangsDirChangingEvent read write;
type
  TLangsDirChangingEvent = procedure (Sender: TObject; OldFolder, NewFolder: string; var Cancel: Boolean) of object;

Set the Cancel parameter to True to prevent Language folder switching.

See also

TbsPolyglotManager